package com.mxp.influx.client.service;

import com.mxp.influx.client.entity.ClientConnection;
import org.influxdb.InfluxDB;

/**
 * @author maoxp
 * @date 2024-12-27 16:49
 */
public interface InfluxDBService {
    public InfluxDB getInfluxDB(String connectionId);
    public InfluxDB connectionInfluxDB(ClientConnection clientConnection);
    public String testInfluxDB(ClientConnection clientConnection);
    public void disconnectInfluxDB(String connectionId);
    public void disconnectOvertimeInfluxDB(Long duration);
}
